package com.gouqi.mall.service;

import com.gouqi.mall.domain.Enterprise;

import java.util.List;

public interface EnterpriseService {
    String addOneCompany(Enterprise company);

    String updateOneCompany(Enterprise company);

    String deleteOneCompany(Integer id);

    String queryOneCompany(String name);

    String queryAllCompanies(Integer index,Integer pageSize);

    String getAllCompanies(Integer index, Integer pageSize);

    String getCompanyById(Integer id);
}
